(verb) thrash, thresh, thresh about, toss, slash, convulse, jactitate
move or stir about violently
The feverish patient thrashed around in his bed